﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace KongMing.ORM.FreeSqlDemo.Models
{
    internal class FreeTable3
    {
        [Column(IsPrimary = true, IsIdentity = true)]
        public int Id { get; set; }
        public string Name { get; set; }
        public string Value { get; set; }
        public int IdFk { get; set; }

        [Navigate(nameof(IdFk))]
        public FreeTable2 FreeTable2 { get; set; }
    }
}
